cmake_minimum_required(VERSION 2.8)

project(InfIndII)

set(CMAKE_BUILD_TYPE debug)

set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
message("Exe files will be generated in ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")

#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)I
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib) 
message("Libraries will be generated in ${LIBRARY_OUTPUT_PATH}")

INCLUDE_DIRECTORIES("${PROJECT_SOURCE_DIR}/src")
LINK_DIRECTORIES(${LIBRARY_OUTPUT_PATH})

############################
# GTest Support
############################
ADD_SUBDIRECTORY (tests/gtest-1.6.0)
enable_testing()
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})

add_subdirectory (src)
add_subdirectory (tests)



